package com.wxprogram.smallprogram.service;

import com.wxprogram.smallprogram.entity.UserStudent;
import com.wxprogram.smallprogram.entity.UserTeacher;

public interface UserInfoReqService {
	//查询学长
	UserTeacher getTeacherInfo(String openID);
	//查询学生
	UserStudent getStudentInfo(String openID);
	
	//修改学长信息
	int updateTeacherInfo(UserTeacher userTeacher);
	//修改学生信息
	int updateStudentInfo(UserStudent userStudent);

	//检查用户是否存在，不存在返回null,存在返回学位
	int checkDegree(String openID);

	//添加学长
	int insertTeacher(UserTeacher userTeacher);
	//添加学生
	int insertStudent(UserStudent userStudent);
}
